.class final Lcom/TwinBlade/PicturePassword/ac;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroid/widget/AdapterView$OnItemSelectedListener;


# instance fields
.field final synthetic a:Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;


# direct methods
.method private constructor <init>(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;)V
    .locals 0
    .parameter

    .prologue
    .line 156
    iput-object p1, p0, Lcom/TwinBlade/PicturePassword/ac;->a:Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;Lcom/TwinBlade/PicturePassword/ac;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 156
    invoke-direct {p0, p1}, Lcom/TwinBlade/PicturePassword/ac;-><init>(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;)V

    return-void
.end method


# virtual methods
.method public onItemSelected(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 4
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 160
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/ac;->a:Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;->a(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;)Landroid/content/SharedPreferences;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "FirstGestureType"

    iget-object v2, p0, Lcom/TwinBlade/PicturePassword/ac;->a:Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;

    invoke-virtual {p1, p3}, Landroid/widget/AdapterView;->getItemAtPosition(I)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;->a(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 161
    iget-object v0, p0, Lcom/TwinBlade/PicturePassword/ac;->a:Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;

    invoke-static {v0}, Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;->b(Lcom/TwinBlade/PicturePassword/GesturePreferencesPlus;)V

    .line 162
    return-void
.end method

.method public onNothingSelected(Landroid/widget/AdapterView;)V
    .locals 0
    .parameter

    .prologue
    .line 167
    return-void
.end method
